package com.chuanyang.driverh.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * 西风多少恨，吹不散眉弯！—唐大帅
 * @author 唐帅
 * 分配货物的 bean
 * created at
 */

public class AssignGoodData implements Serializable {
    private String driverImage;

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    private String plateNumber;
    private Integer orderId;
    private Integer driverId;
    private Double loadWeight;//司机运力
   // private String  amount;//分配金额
    private Double assignWeight;//分配的总重量
    private ArrayList<WaybillDetailsData> waybillDetails;

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    private int index;//此处表示处司机分配列表的位置（每个条目是一个司机，由于可以一个人分配多个运单 所以此处）


//    public String getAmount() {
//        return amount;
//    }
//
//    public void setAmount(String amount) {
//        this.amount = amount;
//    }
//


    public Double getAssignWeight() {
        return assignWeight;
    }

    public void setAssignWeight(Double assignWeight) {
        this.assignWeight = assignWeight;
    }

//    private Double RealWeight;


    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    private String driverName;

    public String getDriverImage() {
        return driverImage;
    }

    public void setDriverImage(String driverImage) {
        this.driverImage = driverImage;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getDriverId() {
        return driverId;
    }

    public void setDriverId(Integer driverId) {
        this.driverId = driverId;
    }

    public ArrayList<WaybillDetailsData> getWaybillDetails() {
        return waybillDetails;
    }

    public void setWaybillDetails(ArrayList<WaybillDetailsData> waybillDetails) {
        this.waybillDetails = waybillDetails;
    }


    public Double getLoadWeight() {
        return loadWeight;
    }

    public void setLoadWeight(Double loadWeight) {
        this.loadWeight = loadWeight;
    }

//    public Double getRealWeight() {
//        return RealWeight;
//    }
//
//    public void setRealWeight(Double realWeight) {
//        RealWeight = realWeight;
//    }


    public static   class WaybillDetailsData  implements Serializable {
        /**
         * orderdetailId : 127
         * detailsWeight : 646
         * detailsNum : 6860000
         */

        private Integer orderdetailId;
        private String detailsWeight;//货物重量
        private Integer detailsNum;//货物数量
        private Double totalWeight;//该货物剩余货物重量
        private String goodName;//货物名称
        private  boolean editFocus;

        public String getGoodsStandard() {
            return goodsStandard;
        }

        public void setGoodsStandard(String goodsStandard) {
            this.goodsStandard = goodsStandard;
        }

        private String goodsStandard;

        public boolean isEditFocus() {
            return editFocus;
        }

        public void setEditFocus(boolean editFocus) {
            this.editFocus = editFocus;
        }



        public Double getTotalWeight() {
            return totalWeight;
        }

        public void setTotalWeight(Double totalWeight) {
            this.totalWeight = totalWeight;
        }
        public int getOrderdetailId() {
            return orderdetailId;
        }

        public void setOrderdetailId(Integer orderdetailId) {
            this.orderdetailId = orderdetailId;
        }

        public String getDetailsWeight() {
            return detailsWeight;
        }

        public void setDetailsWeight(String detailsWeight) {
            this.detailsWeight = detailsWeight;
        }

        public int getDetailsNum() {
            return detailsNum;
        }

        public void setDetailsNum(Integer detailsNum) {
            this.detailsNum = detailsNum;
        }

        public String getGoodName() {
            return goodName;
        }

        public void setGoodName(String goodName) {
            this.goodName = goodName;
        }
    }



}
